InputVal = effect("Bar Value")("Slider")/100; ChartMax = thisComp.layer("Chart Controls").effect("Max Value")("Slider"); AnimationCompletion=effect("Percentage")("Slider"); ratio= AnimationCompletion/ChartMax; Length = 100; // frames InputVal*Length*thisComp.frameDuration*ratio